JMExecMethodInContext
Executes a nonstatic Java method in a given AWT context thread.
OSStatus JMExecMethodInContext ( JMAWTContextRef context, jref objref, JRIMethodID methodID, UInt32 argCount, JRIValue args[]);
context
- The AWT context in whose thread you want the method to execute.
objref
- A pointer to the Java object that contains the method you want to call.
methodID
- The ID of the method.
argCount
- The number of arguments in the method.
args[]
- The argument list.
- function result
- A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
SEE ALSO
If you want to execute a static Java method (that is, one that is not local to an object) you must call theJMExecStaticMethodInContext
function instead (page 69).For more information on available method calls, see the documentation on the Java Runtime Interface (JRI) at the Web page
http://developer.netscape.com/